package com.javaspeak.designpatterns.go4.structural.flyweight;

/**
 * CanvasElements are added to this canvas and then rendered to System.out
 *
 * @author John Dickerson
 */
public interface Canvas {

    /**
     * Add a CanvasElement to the canvas
     *
     * @param canvasElement
     */
    public void addCanvasElement( CanvasElement canvasElement );

    /**
     * Render all the CanvasElements on the Canvas to System.out
     */
    public void render();
}
